{
 "cells": [
  {
   "cell_type": "markdown",
   "id": "b490c825",
   "metadata": {},
   "source": [
    "# 语音对话助手机器人\n",
    "## 语音识别ASR（将声音转化为文本）\n",
    "### 百度语音识别API\n",
    "# 自然语言处理（理解文本-->文本生成）\n",
    "## 自己构造字典，自定义回复信息（完全没有模型）\n",
    "### qa = {\n",
    "    \"你好\":\"你好呀，有什么事么？\",\n",
    "    \"你叫什么名字\":\"我是人见人爱，花见花开的小小度呀\",\n",
    "    \"你多大了\":\"这是很私密的问题，我今年18岁了。\",\n",
    "    \"苹果用英文怎么说\":\"apple\",\n",
    "    \"今天天气\":\"我这边墨迹天气显示，今天广州30度，晴\"\n",
    "}\n",
    "## 可以尝试接入有功能的自动回复机器人的API（图灵机器人API）\n",
    "## 可以尝试接入更加智能的语言生成模型（chatgpt API、文心一言API等）\n",
    "# 语音合成TTS（将文本合成语音）\n",
    "## 在步骤2中生成的文本转换成语音（百度语音合成API）"
   ]
  }
 ],
 "metadata": {
  "kernelspec": {
   "display_name": "Python 3 (ipykernel)",
   "language": "python",
   "name": "python3"
  },
  "language_info": {
   "codemirror_mode": {
    "name": "ipython",
    "version": 3
   },
   "file_extension": ".py",
   "mimetype": "text/x-python",
   "name": "python",
   "nbconvert_exporter": "python",
   "pygments_lexer": "ipython3",
   "version": "3.9.12"
  },
  "toc": {
   "base_numbering": 1,
   "nav_menu": {},
   "number_sections": true,
   "sideBar": true,
   "skip_h1_title": false,
   "title_cell": "Table of Contents",
   "title_sidebar": "Contents",
   "toc_cell": false,
   "toc_position": {},
   "toc_section_display": true,
   "toc_window_display": false
  }
 },
 "nbformat": 4,
 "nbformat_minor": 5
}
